package com.yingsheng.bi.hks.comm;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class WxPayMpQueryOrderRes {

    @ApiModelProperty(value = "公众账号ID")
    private String appid;

    @ApiModelProperty(value = "商户号")
    private String mchid;

    @ApiModelProperty(value = "微信用户在商户对应appid下的唯一标识")
    private String openid;

    @ApiModelProperty(value = "支付类型", notes = "JSAPI：公众号支付、小程序支付")
    private String payType;

    @ApiModelProperty(value = "微信支付订单号", example = "1217752501201407033233368018", notes = "长度为32位，订单支付成功后返回。")
    @Pattern(regexp = "[a-zA-Z0-9_-|*]{6,32}")
    private String wxOrderNo;

    @ApiModelProperty(value = "订单状态", notes = "SUCCESS-支付成功,NOTPAY-未支付,CLOSED-已关闭,其他详见WxOrderState")
    private String wxOrderState;

    @ApiModelProperty(value = "订单状态描述的", example = "支付成功")
    private String wxOrderStateDesc;

    @ApiModelProperty(value = "支付完成时间", example = "2015-05-20T13:29:35+08:00", notes = "该参数在订单支付成功后返回。")
    @Pattern(regexp = "[a-zA-Z0-9_-|*]{6,32}")
    private String wxOrderPayTime;


}
